From b2a6e7d67672878242bca816a6e794b84d7364d5 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 17 Jul 2004 17:31:33 +0000 Subject: [PATCH] (not_single_kboard_state): Do nothing unless MULTI_KBOARD is defined. --- src/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index aa2bdbddf5a..de6356987b8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1096,8 +1096,10 @@ void not_single_kboard_state (kboard) KBOARD *kboard; { +#ifdef MULTI_KBOARD if (kboard == current_kboard) single_kboard = 0; +#endif } /* Maintain a stack of kboards, so other parts of Emacs @@ -10203,7 +10205,7 @@ stuff_buffered_input (stuffstring) /* Anything we have read ahead, put back for the shell to read. */ /* ?? What should this do when we have multiple keyboards?? Should we ignore anything that was typed in at the "wrong" kboard? - + rms: we should stuff everything back into the kboard it came from. */ for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++) -- 2.30.2